import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import diancan from '../views/diancan.vue'

Vue.use(VueRouter)

const router = new VueRouter({
	routes:[
		{
			path: '/',
			name: 'Home',
			component: Home
		},
		{
			path: '/diancan/:zhuo',
			name: 'diancan',
			component: diancan
		}
	]
})

export default router
